home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / src / msgbox.h < prev    next >
C/C++ Source or Header  |  1997-07-22  |  3KB  |  87 lines

  1.  
  2. /* $Id: msgbox.h,v 1.4 1997/06/25 22:09:14 pvmsrc Exp $ */
  3.  
  4. /*
  5.  *         PVM version 3.4:  Parallel Virtual Machine System
  6.  *               University of Tennessee, Knoxville TN.
  7.  *           Oak Ridge National Laboratory, Oak Ridge TN.
  8.  *                   Emory University, Atlanta GA.
  9.  *      Authors:  J. J. Dongarra, G. E. Fagg, M. Fischer
  10.  *          G. A. Geist, J. A. Kohl, R. J. Manchek, P. Mucci,
  11.  *         P. M. Papadopoulos, S. L. Scott, and V. S. Sunderam
  12.  *                   (C) 1997 All Rights Reserved
  13.  *
  14.  *                              NOTICE
  15.  *
  16.  * Permission to use, copy, modify, and distribute this software and
  17.  * its documentation for any purpose and without fee is hereby granted
  18.  * provided that the above copyright notice appear in all copies and
  19.  * that both the copyright notice and this permission notice appear in
  20.  * supporting documentation.
  21.  *
  22.  * Neither the Institutions (Emory University, Oak Ridge National
  23.  * Laboratory, and University of Tennessee) nor the Authors make any
  24.  * representations about the suitability of this software for any
  25.  * purpose.  This software is provided ``as is'' without express or
  26.  * implied warranty.
  27.  *
  28.  * PVM version 3 was funded in part by the U.S. Department of Energy,
  29.  * the National Science Foundation and the State of Tennessee.
  30.  */
  31.  
  32. /*
  33.  *    msgbox.h
  34.  *
  35.  *    Message mailbox includes.
  36.  *
  37. $Log: msgbox.h,v $
  38.  * Revision 1.4  1997/06/25  22:09:14  pvmsrc
  39.  * Markus adds his frigging name to the author list of
  40.  *     every file he ever looked at...
  41.  *
  42.  * Revision 1.3  1997/04/10  17:53:55  pvmsrc
  43.  * Externalized me_new()...
  44.  *     - for WT_RECVINFO usage...
  45.  *
  46.  * Revision 1.2  1997/04/08  19:41:12  pvmsrc
  47.  * Added me_savetid to pvmmentry struct.
  48.  *     - for keeping track of original owner on persistent mboxes.
  49.  *     - allows more careful cleanup in a system reset, set me_tid to 0
  50.  *         but save original tid in me_savetid first...  :-)
  51.  *
  52.  * Revision 1.1  1997/04/08  18:44:27  pvmsrc
  53.  * Initial revision
  54.  *
  55.  *
  56.  */
  57.  
  58.  
  59. /*
  60.  *    one of these for each name (class) in the database
  61.  */
  62.  
  63. struct pvmmclass {
  64.     struct pvmmclass *mc_link;        /* dll of peers */
  65.     struct pvmmclass *mc_rlink;
  66.     char *mc_name;                    /* class name or 0 if list master */
  67.     struct pvmmentry *mc_ent;        /* entries in class */
  68. };
  69.  
  70. /*
  71.  *    one of these for each index (entry) of a class
  72.  */
  73.  
  74. struct pvmmentry {
  75.     struct pvmmentry *me_link;        /* dll of peers */
  76.     struct pvmmentry *me_rlink;
  77.     int me_ind;                        /* index in class or -1 if master */
  78.     int me_tid;                        /* tid of owner */
  79.     int me_savetid;                    /* previous owner tid, now dead */
  80.     int me_flags;                    /* options */
  81.     struct pmsg *me_msg;            /* value (message) */
  82. };
  83.  
  84.  
  85. struct pvmmentry *me_new __ProtoGlarp__(( int ));
  86.  
  87.